﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RLGDashboard
{
    public class RangeContainer
    {
        public Range[] egt1Container;
        public Range[] egt2Container;
        public Range[] egt3Container;
        public Range[] egt4Container;
        public Range[] psi1Container;
        public Range[] psi2Container;
        public Range[] psi3Container;
        public Range[] rpm1Container;
        public Range[] rpm2Container;
        public Range[] rpm3Container;
        public Range[] voltageContainer;
        public Range[] afrContainer;
        
        public RangeContainer()
        {
            egt1Container = new Range[] { new Range(0, 1000, "green"), new Range(1001, 1200, "red") };
            egt2Container = new Range[] { new Range(0, 1000, "green"), new Range(1001, 1200, "red") };
            egt3Container = new Range[] { new Range(0, 1000, "green"), new Range(1001, 1200, "red") };
            egt4Container = new Range[] { new Range(0, 1000, "green"), new Range(1001, 1200, "red") };
            psi1Container = new Range[] { new Range(-100, 0, "green"), new Range(1, 100, "red") };
            psi2Container = new Range[] { new Range(-100, 0, "green"), new Range(1, 100, "red") };
            psi3Container = new Range[] { new Range(-100, 0, "green"), new Range(1, 100, "red") };
            rpm1Container = new Range[] { new Range(0, 5000, "green"), new Range(5001, 6000, "red") };
            rpm2Container = new Range[] { new Range(0, 5000, "green"), new Range(5001, 6000, "red") };
            rpm3Container = new Range[] { new Range(0, 5000, "green"), new Range(5001, 6000, "red") };
            voltageContainer = new Range[] { new Range(-5, 0, "green"), new Range(1, 5, "red") };
            afrContainer = new Range[] { new Range(0, 30, "green"), new Range(31, 45, "red") };
        }
    }
}
